home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
util1
/
exc23.zip
/
EXC.V23
< prev
next >
Wrap
Text File
|
1993-04-13
|
889b
|
17 lines
EXC version 2.3 modifications
Version 2.2 attempted to probperly pass quoted parameters by enclosing all
parameters in quotes. While this worked fine on Borland C and C++ programs,
if the spawned program was PASCAL or assembler, it received the parameter with
the quotes. Since most programmers were not expecting quoted parameters,
they had no code to handle them. Borland C always remoed the quotes before
a program could access the parameters. This means that EXC VERSION 2.2 DID
NOT WORK WHEN MOST PASCAL AND ASSEMBLER PROGRAMS WERE INVOKED.
I now check each parameter for a space, |, < or >. If it contains one of
these, I assume the input string was quoted and pass it on with surrounding
quotes. All other parameters are passed as-is.
\" can no longer be used to imbed quotes in a parameter to be passed to a
spawned program. \q must be used instead.